package com.ling.dao;

import com.ling.bean.UserDownvoteBlog;
import com.ling.bean.UserDownvoteBlogExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDownvoteBlogMapper {
    long countByExample(UserDownvoteBlogExample example);

    int deleteByExample(UserDownvoteBlogExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserDownvoteBlog record);

    int insertSelective(UserDownvoteBlog record);

    List<UserDownvoteBlog> selectByExample(UserDownvoteBlogExample example);

    UserDownvoteBlog selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserDownvoteBlog record, @Param("example") UserDownvoteBlogExample example);

    int updateByExample(@Param("record") UserDownvoteBlog record, @Param("example") UserDownvoteBlogExample example);

    int updateByPrimaryKeySelective(UserDownvoteBlog record);

    int updateByPrimaryKey(UserDownvoteBlog record);
}